<?php
namespace common\models\userFund;

use common\models\Common;
use common\models\user\User;

/**
 * ContactForm is the model behind the contact form.
 */
class UserMoney extends Common
{
    public static function tableName()
    {
        return '{{%user_money}}';
    }

    //获取用户
    public function getUser()
    {
        return $this->hasOne(User::className(), ['id' => 'user_id']);
    }

}
